package io.yuanqi.hgtcshop.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/check")
public class CheckController {



    @GetMapping(value = "/checkSignature", produces = "application/json;charset=utf-8")
//    @RequrieAuth(needLogin = false,noValidate = true)// //不需要sign验证
    public String checkSignature(String signature,String timestamp,String nonce,String echostr) {
        return echostr;//没有写验证，直接返回
    }

}
